/*
srkrt_disp_gui.h
Ce fichier contient les protoypes des fonctions utilisées pour l'interface.
*/
#ifndef INCLUDE_SRKRT_DISP_GUI
#define INCLUDE_SRKRT_DISP_GUI

#include <gtk/gtk.h>
#include "srkrt_main_struct.h"


#define X_WINDOWS     500
#define Y_WINDOWS     500

typedef struct s_Case {
	GtkWidget *eventBox;
	GtkWidget *image;
} Case;

typedef struct {
	Case grille[6][6];
	Surakarta game;
	List l;
	GtkWidget* imageBackground;
	GtkWidget* imageBoard;
	GtkWidget* mainWindow;
	#ifdef NETWORK
	char name[100];
	GtkWidget* entry;
	GtkListStore *listStore;
	GtkTreeIter listIter;
	#endif
	Move move;
	gint choice;
	int time;
	char background[100];
	char pawnPlayer1[100];
	char pawnPlayer1Highlight[100];
	char pawnPlayer2[100];
	char pawnPlayer2Highlight[100];
	char save[100];
	Stack s;
} Global;

#endif
